package tests;

import static org.junit.Assert.*;
import mainService.services.WriterServices;

import org.junit.Before;
import org.junit.Test;

public class TestWritingServices {

	WriterServices writer;
	@Before
	public void setUp() throws Exception {
		writer=new WriterServices();
	}

	@Test
	public void test() {
		String query= "Update logs Set description='tanto lavoro' where id_log=10";
		assertTrue(writer.updateDb(query));
	}

}
